package com.jic.request;

import com.jic.page.Page;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.Valid;

/**
 * description: CommonRequest
 * date: 2020-01-10 11:54
 * author: wangys
 * version: 1.0
 */
@Data
@Accessors(chain = true)
public class CommonRequest<P, T> extends BaseRequest {
    private Page<P> page;
    @Valid
    private T dataModel;

    public CommonRequest() {
    }
}
